package data;

public class GridFactory extends DataFactory
{
	public GridFactory( Database db )
	{
		super( "Grids", "grids_id_seq", db );
	}
	
	protected DataElement instantiate()
	{
		return new Grid( this );
	}
	
	
	
	// typed convenience functions
	public Grid findOne( String conditions )
	{
		return (Grid) _findOne( conditions );
	}
	public Grid create()
	{
		return (Grid) _create();
	}
	public Grid lookup( int id )
	{
		return (Grid) _lookup( id );
	}
}
